import { Pipe, PipeTransform } from "@angular/core";

@Pipe({
  name: "trim"
})
export class TrimStringPipe implements PipeTransform {
  transform(value = ""): string {
    return value.replace(/\s+/g, "");
  }
}
